
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '商户',
    enableValidate: false
})

@Injectable()
export class DataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'title',
        name: "{{title_cee1c0ba_gm1f}}",
        binding: 'title',
        updateOn: 'blur',
        defaultI18nValue: '商铺名',
    })
    title: FormControl;

    @NgFormControl({
        id: 'type',
        name: "{{type_77a90d17_0wa2}}",
        binding: 'type',
        updateOn: 'blur',
        defaultI18nValue: '商铺类型',
    })
    type: FormControl;

    @NgFormControl({
        id: 'address',
        name: "{{address_8d575769_cs62}}",
        binding: 'address',
        updateOn: 'blur',
        defaultI18nValue: '商铺地址',
    })
    address: FormControl;

}